package com.kefu.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "admin")
public class Admin {
    @Id
    private String id;             // 客服ID
    private String username;       // 登录账号
    private String password;       // 密码(BCrypt加密)
    private String name;           // 客服姓名
    private int status;            // 状态：0-离线，1-在线，2-忙碌
}
